package com.qianfeng.dbsm.dao;


import com.qianfeng.dbsm.entity.TbOrderLogistics;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TbOrderLogisticsDao {


    /**
     * 新增发货信息
     * @param orderLogistics
     * @return
     */
    int insert(TbOrderLogistics orderLogistics);

    /**
     * 通过订单编号查询发货信息
     * @param orderNumber
     * @return
     */
    List<TbOrderLogistics> queryByOrderNumber(@Param("orderNumber") String orderNumber);



}
